<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>微店</title>
<%@include file="../collect/meta.jsp"%>
<script type="text/javascript" src="${ctx}/js/returnTop.js"></script>
<style type="text/css">
#btn-team {
	margin-top: 10px;
	margin-left: 80px;
}
</style>
<link rel="stylesheet" href="css/radius.css" type="text/css"></link>
<link rel="stylesheet" href="css/Inputstyle.css" type="text/css"></link>
</head>
<body lang="zh-cn">
	<div class="wrapper">
		<c:import url="/collect/top.jsp"></c:import>
		<div class="main-container" id="main-container">
			<div class="main-container-inner">
				<c:import url="/collect/left.jsp"></c:import>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<ul class="breadcrumb">
							<li><i class="icon-home home-icon"></i>微店</li>
						</ul>
						<!-- .breadcrumb -->
					</div>
					<div class="page-content">
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								<form action="microshopaction!updateMicroshop" name="modifyForm"
									method="post">
									<div align="center">
										<div class="title" style="margin-left:5px;">
											<label for="microshop.url">微店网址:&nbsp;</label> <input
												type="text" class="input" id="microUrl" name="microshop.url"
												value="${microshop.url }" /> <input type="hidden"
												name="microshop.id" value="${microshop.id }">
										</div>
										<div id="btn-team">
											<input type="button" id="submitBtn"
												class="btn btn-primary radius" value="提交" /> <a
												class="btn btn-primary radius"
												href="${ctx }/microshopaction!getMicroshopUrl">返回</a>
										</div>
									</div>
								</form>
								<!-- PAGE CONTENT ENDS -->
							</div>
							<!-- /.col -->
						</div>
						<!-- /.row -->
					</div>
					<!-- /.page-content -->
				</div>
				<!-- /.main-content -->
			</div>
			<!-- /.main-container-inner -->
			<a href="#" id="btn-scroll-up"
				class="btn-scroll-up btn btn-sm btn-inverse"
				style="position:fixed;bottom:0;"> <i
				class="icon-double-angle-up icon-only bigger-110"></i> </a>
		</div>
		<!-- /.main-container -->
		<div class="push"></div>
	</div>
	<c:import url="/collect/down.jsp"></c:import>

	<script type="text/javascript">
		$(document).ready(function() {
			$('.weixinguanli > ul').show();
			$('.weixinguanli > ul > li > a').eq(3).css("color", "red");

			$("#submitBtn").click(function() {
				var url = $("#microUrl").val();
				if (url.length == 0) {
					alert("请输入微店网址");
					return;
				}
				modifyForm.submit();
			});
		});
	</script>
</body>
</html>